Part Number Hot Search : 
C20T100 RMZ10 000MT 2SB1245 RGPZ20B C74AC ZD08V2 B1729
Product Description
Full Text Search
 

To Download L7250 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 L7250
5V & 12V SPINDLE AND VCM MOTORS DRIVER
PRODUCT PREVIEW
s s s s
12V & 5V (10%) OPERATION REGISTER BASED ARCHITECTURE 3 WIRE SERIAL COMMUNICATION INTERFACE UP TO 33 MHZ BCD TECHNOLOGY
TQFP64 ORDERING NUMBER: L7250
s s
Spindle Motor Controller s INTERNAL POWER DEVICE 0.9 OHM MAX VALUE @ 125C (SINK+SOURCE) s 2.5A PEAK CURRENT CAPABILITY s ST SMOOTHDRIVE SINUSOIDAL PWM COMMUTATION s DEDICATED ADC FOR POWER SUPPLY VOLTAGE COMPENSATION s SPINDLE CURRENT LIMITING VIA FIXED FREQUENCY PWM OF SPINDLE POWER OUTPUTS AT THE SMOOTHDRIVE PWM RATE s SYNCHRONOUS RECTIFICATION DURING PWM TO REDUCE POWER DISSIPATION s CURRENT SENSING VIA EXTERNAL CURRENT SENSE RESISTOR s INDUCTIVE SENSE POSITION START UP DRIVEN BY PROCESSOR s SPINDLE BRAKING DURING POWER DOWN CONDITION Voice Coil Motor Driver with Ramp Load/Unload s INTERNAL POWER DEVICE 0.9 OHM MAX VALUE @ 125C (SINK+SOURCE) s 2A PEAK CURRENT CAPABILITY s 15 BIT LINEAR DAC FOR CURRENT COMMAND, WITH INTERNAL REFERENCE VOLTAGE s SENSE AMPLIFIER GAIN SWITCH s CLASS AB OUTPUT STAGE WITH ZERO DEAD-BAND AND MINIMAL CROSSOVER DISTORTION s RAMP LOAD AND UNLOAD CAPABILITY AS WELL AS CONSTANT VOLTAGE RETRACT s EXTERNAL CURRENT SENSE RESISTOR IN SERIES WITH MOTOR. s HIGH CMRR (>70DB) AND PSRR (>60DB) SENSE AMP s EXTERNAL CURRENT CONTROL LOOP COMPENSATION s HIGH BANDWIDTH VCM CURRENT CONTROL LOOP CAPABILITY s HIGH PSRR, LOW OFFSET, LOW DRIFT GM LOOP
July 2001
VCM VOLTAGE MODE, CONTROLLED BY VCM DAC GM LOOP OFFSET CALIBRATION SCHEME INCLUDES A COMPARATOR ON THE ERROR AMP
Auxiliary Functions s 3.3V AND 1.8V LINEAR REGULATOR CONTROLLER s NEGATIVE VOLTAGE REGULATOR s INTERNAL ISOFET 0.1 OHM @125C s POWER MONITOR OF 12V, 5V, 3.3V AND 1.8V s SHOCK SENSOR CIRCUIT TAKES INPUTS FROM PIEZO OR CHARGING ELEMENT s 10 BIT ADC WITH 4 MUXED INPUTS s THERMAL SENSE CIRCUIT AND OVER TEMPERATURE SHUT DOWN s CHARGE PUMP BOOST VOLTAGE GENERATOR FOR HIGH SIDE GATE DRIVE s ANALOG PINS AVAILABLE TO ENTER SIGNALS TO BE CONVERTED BY THE INTERNAL ADC DESCRIPTION L7250 is a power IC for driving the SPINDLE and VCM motors, suitable for 5V & 12V application. The spindle system includes integrated power FETs which are driven using ST's Smoothdrive pseudo-sinusoidal commutation technology. The voice coil motor (VCM) system includes integrated power FETs, as well as ramp load and unload capability. Linear 3.3V and1.8V voltage regulators are included, as well as a negative regulator. Power monitoring of VCC5, VCC12, and of the two positive voltage regulators is also included.L7250 uses a 3 wire serial interface: S_DATA, S_CLK and S_ENABLE
1/46
This is preliminary information on a new product now in development. Details are subject to change without notice.
L7250
PIN CONNECTION (Top view)
VM1 OUTW2
51 52
CPOSCH
VBOOST
60
55
54
53
64
63
62
61
59
57
56
50
58
49
OUTW1 Rsense
OUTU2
OUTU1
RSEN4
RSEN3
OUTV2
OUTV1
VCV3
VCV4
VM2
CT
VCV1 VCV2 VCMP1 VCMP2 VCMGND1 VCMGND2 CPOSC VCC5 DIG_GND N_DRV N_FEED N_COMP 25_BASE 25_FEED 33_BASE 33_FEED
01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
RSEN2 RSEN1 VCMN2 VCMN1 VCMGND4 VCMGND3 SNS_N SNS_P SNS_OUT ERR_OUT ERR_IN DAC_OUT SCLK SYSClk SDATA SEN
VCMBEMF
CalCoarse
NPOR CBRAKE
VREF25
AGND
SkFout
SkDout
Timer1
CPOR
ADaux
Skout
SkFin
PIN DESCRIPTION
N 1 2 3 4 5 6 7 8 9 10 11 12 Pin VCV1 VCV2 VCMP1 VCMP2 VCMGND1 VCMGND2 CPOSC VCC5 DIG_GND N_DRV N_FEED N_COMP V S12 S12 O12 O12 gnd gnd O12 S5 gnd O5 I5 IO5 12V power supply 12V power supply and POR sensing threshold VCM positive output VCM positive output VCM power ground VCM power ground Charge pump oscillator 5V power supply Digital & Switching regulator ground Neg Reg ext FET gate driver Neg Reg feedback Neg Reg error output Description
2/46
Skin
Test
ZC
L7250
PIN DESCRIPTION (continued)
N 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 Pin 25_BASE 25_FEED 33_BASE 33_FEED CPOR NPOR CBRAKE AGND VREF25 ZC Skin Skout SkFin SkFout SkDout Timer1 CalCoarse ADaux VCMBEMF Test SEN SDATA SYSClk SCLK DAC_OUT ERR_IN ERR_OUT SNS_OUT SNS_P SNS_N VCMGND3 V O5 I5 O5 IO5 IO5 O5 IO5 gnd IO5 O5 I5 O5 I5 O5 O5 IO5 I5 I5 O5 IO5 I5 IO5 I5 I5 O5 I5 O5 O5 I12 I12 gnd Reg 1.8V ext NPN base Reg 1.8V feedback Reg 3.3V ext NPN base Reg 3.3 V feedback POR delay capacitor POR output signal Spindle brake capacitor analog gnd 2.5V reference Spindle zero crossing Shock sensor input Shock sensor 1st opamp output Shock sensor filter input Shock sensor filter output Shock sensor output Timer 1 for unload procedure VCM BEMF coarse calibration auxiliary input for the ADC VCM BEMF processor output used for testing porpouse (*) Serial enable Serial data System clock Serial clock VCM DAC output VCM error opamp input VCM error opamp output VCM sense opamp output VCM sense opamp positive input VCM sense opamp negative input VCM power ground Description
3/46
L7250
PIN DESCRIPTION (continued)
N 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 Pin VCMGND4 VCMN1 VCMN2 RSEN1 RSEN2 Rsense OUTW1 OUTW2 VM1 VM2 VCV4 VCV3 OUTV1 OUTV2 RSEN3 RSEN4 OUTU1 OUTU2 CT CPOSCH VBOOST V gnd O12 O12 O12 O12 I5 O12 O12 IO12 IO12 S12 S12 O12 O12 O12 O12 O12 O12 I12 IO20 IO20 VCM power ground VCM negative output VCM negative output Spindle power sensing resitor Spindle power sensing resitor Spindle sensing resistor input Spindle phase C output Spindle phase C output Vmotor Vmotor 12V power supply 12V power supply Spindle phase B output Spindle phase B output Spindle power sensing resitor Spindle power sensing resitor Spindle phase A output Spindle phase A output Spindle central tap Charge pump diodes connection Charge Pump voltage Description
(*) used also to set the IC power supply application. If this pin is pull-up externally the L7250 became a 5V application
S = Supply ; IO = Input/Output ; I = Input ; O = Output ; gnd = Ground.
4/46
L7250
ELECTRICAL CHARACTERISTCS ABSOLUTE MAXIMUM RATINGS
Symbol VCV1,VCV2,VCV3,VCV4 VCC5 maximum voltage OUTU1,OUTU2,OUTV1,OUTV2,OUTW1,OUTW2 VCMP1,VCMP2,VCMN1,VCMN2 VM1,VM2 Digital Input Voltage Operating free-air temperature Storage Temperature Parameter Value 14 6 -1V to 16 Unit V V V
-0.3 to VCC5 0 to 70 -55 to 150
V C C
ELECTRICAL CHARACTERISTCS
POWER SUPPLY [VCC5 & VCV] VCC5 = 5V 10%, VCV = 12V 10%. Tamb = 25C (unless otherwise specified) Symbol Parameter Test Condition Min. Typ. Max. Unit
POWER MONITOR, SUPPLY CURRENTS, ETC. Icc5 Ivcv VCC5 Operating current VCV + VRET Operating current Spindle and VCM enabled, no load Spindle and VCM enabled, no load 9 44 mA mA
CHARGE PUMP VOLTAGE BOOSTER VBOOS T VBOOS Tfreq Charge pump output voltage Switching frequency VCV = 12V Iload = 5mA 18.5 1 V MHz
POWER MONITOR vt5 vt12 hv5 hv12 vt33 hv33 vt18 hv18
NPORlow
VCC5 threshold VCC12 threshold VCC5 hysteresis VCC12 hysteresis V33 Threshold V33 Hysteresis V18 Threshold (at pin 25_FEED) V18Hysteresis NPOR low level output voltage VCV > 4.5V Iol = 5mA
4.0 9 40 100 2.7 20 1.07 25
4.175 9.5 100 200 2.8 40 1.12 50 0.75
4.35 10 160 300 2.9 60 1.17 75
V V mV mV V mV V mV V
5/46
L7250
ELECTRICAL CHARACTERISTCS (continued)
POWER SUPPLY [VCC5 & VCV] VCC5 = 5V 10%, VCV = 12V 10%. Tamb = 25C (unless otherwise specified) Symbol
NPORpull
Parameter NPOR internal pull_up resistor to V33 CPOR charging current CPOR low level output voltage 2.5V reference voltage
Test Condition
Min.
Typ. 6
Max.
Unit Kohm uA mV
CPORIc CPORlow
Vout = 0V VCV > 4.5V Iol = 1mA -5%
5 50 2.5 +5%
Vref25
V
THERMAL WARNING AND THERMAL SHUTDOWN Twarn Tsoff Thys Thermal warming temperature Thermal Shutdown temperature Thermal Hysteresis Characterized, tested by correlation. Characterized, tested by correlation valid for both temperature thresholds 130 150 20 140 165 25 150 180 30 C C C
VM ISOLATION FET IsoR IsoI Rds ON Continuous current @ 125C , I=2.5A 0.1 2.5 Ohm A
SPINDLE DRIVER SECTION POWER STAGE Rds(on) Idsx CTlkg Total output ON resistance (Source + Sink) Output leakage current Centarl tap leakage If = 2.5A OUTx 10% to 90% Reg04H `b7b6b5' = 011 0.6 40 @ 125C, I=2.5A -200 0.9 -500 1 1.2 A A V V/S
DiodeFw Clamp diode forward voltage Slew Output slew rate
BACK EMF COMPARATOR Vie Vr Common mode input voltage range. Input voltage range where output shall not invert. Guaranteed by design Guaranteed by design CT = 6V CT = 6V 0 -1 -15 50 VM VM+1 +15 V V mV mV
BEMFoff BEMF input offset BEMFhy BEMF hysteresys
SPINDLE CURRENT LIMITING Iin CURoff RSENSE Input bias current. Comparator offset 0 < Vin < 3.3V -15 1 +15 A mV
6/46
L7250
ELECTRICAL CHARACTERISTCS (continued)
POWER SUPPLY [VCC5 & VCV] VCC5 = 5V 10%, VCV = 12V 10%. Tamb = 25C (unless otherwise specified) Symbol Parameter Test Condition Min. Typ. 3 Reg04H `b4b3b2' = 000 Reg04H `b4b3b2' = 111 -10 250 600 +10 Max. Unit bit mV mV mV
CURdacr DAC resolution CURdac_L DAC output CURdac_H DAC output CURlin DAC linearity
Cbrake Icbrake VCbrake leakage VCbrake=5V 1 A
VCM SECTION CURRENT SENSE AMPLIFIER Vts Common mode input voltage range. GBD - not tested -0.6 -12 Reg09H `b7' = 0 Reg09H `b7' = 1 Iload=+/-1mA Vin_diff=+/- 500mV 4.75 Cload=50pF Guaranteed by design f < 10 KHz, tested at DC only CMRR=AV DIFF/AV CM 1 200 70 60 400 -5% -5% 4.5 16 VM+1 12 +5% +5% 250 mV V V/s kHz dB dB V mV
Sns _voff Input offset voltage Sns_gain0 Differential Voltage GAIN0 Sns _gain1 Differential Voltage GAIN1 Sns_low Sns_high sns_slew Output slew rate Sns_band -3dB Bandwidth sns _cmrr Common mode rejection ratio VSENSE output saturation voltage
sns _svrr supply voltage rejection ratio VCV f < 10 KHz, tested at DC only ERROR SUMMING AMPLIFIER err _gain Voltage gain err _band Unity gain bandwidth err _slew Output Slew Rate err _ibias Input bias current err _off err_svrr Input offset voltage supply voltage rejection ratio f < 10 KHz, tested at DC only Isink = 1 mA, referred to Vref25 no load Guaranteed by design Cload=50pF
60 4 1.5 1 -10 60 TBD 0 10
dB MHz V/S A mV dB V
err _clamp Low output (clamp) voltage low
7/46
L7250
ELECTRICAL CHARACTERISTCS (continued)
POWER SUPPLY [VCC5 & VCV] VCC5 = 5V 10%, VCV = 12V 10%. Tamb = 25C (unless otherwise specified) Symbol Parameter Test Condition Isource = 1mA, referred to Vref25 Min. TBD Typ. Max. Unit V
err _clamp High output (clamp) voltage high VCM OUTPUT DRIVERS PWR_Gain Power amplifier differential gain. Rds(on) Total output ON resistance (Source + Sink)
I o = 1A, Rload = 8 @ 125C, I=2A
14
15
16 .9 600
V/V uA V % V/us
PWR_Lkg Output leakage current DiodeFw Clamp diode forward voltage THD Total Harmonic Distortion If = 2A characterized no tested RL = 8 ohms Driving ERROUT = VDACREF, Guaranteed by design Guaranteed by design 1 250 500 0 0.6 1
1.2
PWR_Slew VCMN or VCMP slew rate PWR_B and Icross Power Amp -3dB Bandwidth Static Shoot-through current
kHz mA
VCM CURRENT CONTROL LOOP STATIC AND DYNAMIC CHARACTERISTICS IVCMoff Total offset current Rs=0.2 Guaranteed by design -1 -75 75 .2 1 mA mA/oC mA/V
DIVCMoff Total offset current drift temperature coefficient Gm_psrr Gm loop VSRR of VCV VCM LINEAR DAC DAC_res Resolution DAC_out Full Scale Output Voltage DAC_off Mid-Scale Error
15 wrt VDACREF wrt VDACREF Guaranteed Monotonicity 0.96 -12 1 1.04 12 1 64 90% from 3FFFh to 0020h 3
bit V mV LSB LSB s
DAC_DNL Differential Non linearity DAC_INL Integral Non Linearity DAC_Co Conversion time nvT VCM LOAD/UNLOAD ADC ADC_res resolution ADC_DNL Differential Non Linearity ADC_INL Integral Non Linearity ADC_Co Conversion time nvT
10 1 3 40
bit LSB LSB ADC Clock cycles
8/46
L7250
ELECTRICAL CHARACTERISTCS (continued)
POWER SUPPLY [VCC5 & VCV] VCC5 = 5V 10%, VCV = 12V 10%. Tamb = 25C (unless otherwise specified) Symbol Parameter Test Condition Min. Typ. Max. Unit
ADC AUXILIARY INPUT AUX_ran Input range 0 ge0 AUX_ran Input range 1 ge1 AUX_Ibias Input bias VCM VOLTAGE AMPLIFIER Volt_gain Voltage gain Volt_off Volt _cmrr Volt _svrr Input offset Common mode rejection ratio supply voltage rejection ratio f < 10 KHz, tested at DC only CMRR=AV DIFF/AV CM f < 10 KHz, tested at DC only -15 46 60 0.165 +15 V/V mV dB dB Reg06H `b3' = 0 Referred to Vref25 Reg06H `b3' = 1 Referred to Vref25 -100 1 2.25 100 V V A
BEMF processor amplifier CalCoar seIn Gain1 Gain2 Offset Calcoarse voltage input range First stage gain Second stage gain Residual input offset after calibration BEMF amp output resistance (pin 31) Vcontrol = 1.25V (Measured between VCMN and SNS_P pins) -3 Vcontrol = 1.25 V 0.5 1.91 16 +3 2 V V/V V/V mV
Rout
500
ohm
ULOAD @ POR Timer1_V Timer1 Charging Voltage Timer1_I Timer1 Discharging Current Timer1_T Timer1 Low threshold 2.5 2 0.2 V A V
VOLTAGE REGULATORS 1.8 AND 3.3 LINEAR REGULATOR V18 feed 1.8V feedback Voltage V33 OUT 3.3V Output Voltage -5% -5% 1.25 3.3 +5% +5% V V
9/46
L7250
ELECTRICAL CHARACTERISTCS (continued)
POWER SUPPLY [VCC5 & VCV] VCC5 = 5V 10%, VCV = 12V 10%. Tamb = 25C (unless otherwise specified) Symbol V18 IDRIVE V33 IDRIVE Parameter Output base current drive Test Condition Min. Typ. Max. 15 Unit mA
NEGATIVE REGULATOR FREQ0 FREQ1 VoutH VoutL VNEerr OFFS Oscillator frequency Oscillator frequency High level output voltage Low level output voltage Feedback input offset -10 0 f < 10 KHz, tested at DC only CMRR=AV DIFF/AV CM 46 60 Default configuration TestRegister = `00001001' or = `00101001' TBD TBD 10 1 500 1 KHz MHz V V mV A dB dB
VNEGerr Feedback input bias BIAS Vneg_err Common mode rejection ratio _cmrr
Vneg_err supply voltage rejection ratio VCV f < 10 KHz, tested at DC only _svrr SHOCK SENSOR SkIgain0 Input OPAMP gain0 SkIgain1 Input OPAMP gain1 SkIoff SkIinput SkFgain Input OPAMP offset Input OPAMP input impedance Filter OPAMP open loop gain Guaranteed by design Reg02H `b7' = 0 Reg02H `b7' = 0 Reg02H `b7' = 1
10 80 -15 10 80 5 -10 +10 200 500 200 500 +15
V/V dB mV Mohm DB Mhz MV mV mV mV mV
SkFband Filter OPAMP unity gain bandwidth SkFoff Filter OPAMP offset voltage
SkOThH0 Output window comparator VthHigh SkOThH1 Output window comparator VthHigh SkOThL0 Output window comparator VthLow SkOThL1 Output window comparator VthLow
Referred to Vref25 ; Reg02H `b6' = 0 Referred to Vref25 ; Reg02H `b6' = 1 Referred to Vref25; Reg02H `b6' = 0 Referred to Vref25; Reg02H `b6' = 1
10/46
L7250
ELECTRICAL CHARACTERISTCS (continued)
POWER SUPPLY [VCC5 & VCV] VCC5 = 5V 10%, VCV = 12V 10%. Tamb = 25C (unless otherwise specified) Symbol SERIAL PORT Voh Vol Vih Vil Iih Iil Logic Output voltage high Logic Output voltage low Logic input high Logic input low Logic high input current Logic low input current Ioh=1mA Iol=1mA Iih=1uA Iil=-1uA Internal Pulldown Resistor Vin = 3.3V 33 -1.00 2.2 0.5 2.7 0.5 V V V V A A Parameter Test Condition Min. Typ. Max. Unit
1
SERIAL PORT
The serial port is a bidirectional three pin interface, using SDATA, SCLK and SEN to address and communicate with sixteen 8 bit registers in the L7250. These registers include the status register, Spindle control registers, VCM control registers, sinewave drive registers, and test mode register. These registers are cleared to zero at power up. 1.1 Default comunication modes setting (bit 7, Reg05H ) = 0 After the SEN falling edge, the internal state machine is waiting for the first SCLK falling edge. This means that if the SCLK line starts from an high level the first falling edge, respecting the setup time Tefcf, is considered, and is used to read the R/W bit. During a writing process the internal state machine must see 16 SCLK falling edges to validate the operation. The write mode is started if the R/W bit is low on the first falling edge of SCLK. The read mode is started if the R/W bit is high on the first falling edge of SCLK. The ID, Address, and Data are all then subsequently read by the L7250 on the falling edges of SCLK. (See Figure 1) The microcontroller has to read the data on the falling edge of the SCLK signal. After the hold time (Tedh) the data line switches to the next data without a tri-state phase.During a read mode the last address bit is read by L7250 on the eighth falling edge of SCLK. The internal state machine then turns the SDATA bit around for the L7250 to assume control at the next SCLK rising edge (the first rising edge after the 8th SCLK falling edge).
11/46
L7250
Figure 1. Default serial port timing diagram (bit 7, Reg05H = 0)
Tcfer Teh
Tcrer
D0
D1
D2
D3
D2
D1
D0
Tch Tcl Tcds Tcdh
D7
A0
A2 A1
Tefcf
W
Note1: During writing process L7250 latches the data on the SCLK falling edge (the ASIC is writing on the SCLK rising edge) Note2: During reading process L7250 takes the bus control on the next SCLK rising edge after the 8th SCLK falling edge The L7250 write the data on the SCLK falling edge respecting the data hold time (Tedh) Note3: The ID number for the L7250 is ID1=ID2=ID3=1
12/46
SDATA (write)
SCLK
SEN
SDATA (read)
R
ID2 ID2 ID2 A2
ID2 ID2 ID2 A2
Tcc
A2 A1
A0
D7
L7250 takes bus control
D3
D5
D6 D5
Tdly Tcdd
D6
Tedh
D4
D4
L7250
1.2 Default serial port timing Table
Symbol Tcc Tch Tcl Tcds Tcdh Tedh Tcdd Tel Teh Tefcf Tcfer Tdly Serial clock period Serial clock high time Serial clock low time Serial data setup time to clock falling edge (write mode) Serial clock falling edge to serial data hold time (write mode) Serial clock falling edge to serial data hold time (read mode) Serial data setup time to clock falling edge (read mode) Serial Enable low time Serial Enable high time Serial Enable falling edge to serial clock falling edge Serial clock falling edge to Serial enable rising edge SDATA turn around delay time Parameter Min 30 13 13 5 4 5 5 490 30 17 17 0 Max Unit ns ns ns ns ns ns ns ns ns ns ns ns
Note 1: All specifications with respect to 50% of signal switching thresholds Note 2: Reading mode tested at Max 20Mhz
1.3 Inverted clock comunication modes (bit 7, Reg05H) = 1 To set the bit7, Reg05H to 1, entering this different comunication mode, a writing process using the default comunication protocol (see the above paragraph) must be used. After the SEN falling edge, the internal state machine is waiting for the first SCLK rising edge. This means that if the SCLK line starts from a low level the first rising edge, respecting the setup time Tefcr, is considered, and is used to read the R/W bit. The internal state machine must see 16 SCLK rising edges to validate the write operation. The write mode is started if the R/W bit is low on the first rising edge of SCLK. The read mode is started if the R/W bit is high on the first rising edge of SCLK. The ID, Address, and Data are all then subsequently read by the L7250 on the rising edges of SCLK (See Figure 2). The microcontroller has to read (latch) the data on the falling edge of the SCLK signal. L7250 presents the data on the SCLK rising edge. During a read mode the last address bit is latched by the L7250 on the eighth rising edge of SCLK. The internal state machine then turns the SDATA bit around for the L7250 to assume control at the next SCLK falling edge (the first falling edge after the 8th SCLK rising edge).
13/46
L7250
Figure 2. Inverted clock serial port timing diagram (bit 7, Reg05H = 1)
Tcrer Teh
D0
D1
D2
D3
D3
D2
D1
D0
Tch Tcl Tcds Tcdh
A0
D7
A1
A2
ID 2 ID 2 ID2 A2
Tefcr
W
Note1: During writing process L7250 latches the data on the SCLK rising edge (the ASIC is writing on the SCLK falling edge) Note2: During reading process L7250 takes the bus control on the next SCLK falling edge after the 8th SCLKrising edge The L7250 write the data on the SCLK rising edge and it is expecting the ASIC to latches the data on the SCLK falling edge Note3: The ID number for the L7250 is ID1=ID2=ID3=1
14/46
SDATA (write)
SCLK
SEN
SDATA (read)
R
ID 2 ID 2 ID2 A2
Tcc
A2
A1
A0
L7250 takes bus control
D4
D6 D5
D5
Tel
Tdly Tvld
D6
D7
Tedh
D4
L7250
1.4 Inverted clock serial port timing Table
Symbol Tcc Tch Tcl Tcds Tcdh Tedh Tvld Serial clock period Serial clock high time Serial clock low time Serial data setup time to clock falling edge (write mode) Serial clock falling edge to serial data hold time (write mode) Serial clock falling edge to serial data hold time (read mode) Serial clock rising edge to SDATA stable time (read mode) Cload=5pF (see Note2) Cload=50pF (see Note2) Serial Enable low time Serial Enable high time Serial Enable falling edge to serial clock rising edge Serial clock rising edge to Serial enable rising edge SDATA turn around delay time 490 30 17 17 0 Parameter Min 30 13 13 5 4 5 Max Unit ns ns ns ns ns ns
11 15
ns ns ns ns ns ns ns
Tel Teh Tefcr Tcrer Tdly
Note 1: All specifications with respect to 50% of signal switching thresholds Note 2: In reading mode the clock frequency is limited by this parameter; in fact the min `serial clock high time' is defined by (Tvld+Tasu) where Tasu = min ASIC setup time
15/46
L7250
Table 1. Register Map
addr b7 b6 b5 b4 b3 b2 b1 b0 name mnemoni c status attributes
00H
SPNCurrSi gn RLvoltage1 [1] ShockConf
VCMcalOut
ZCBad
ThShutdown
ThWarn
rev2
rev1
rev0
SR
readonly
01H
RLvoltage1 [0] ShockTh[0]
RLvoltage2 [1] RLToffBrake [1] VCMState1
RLvoltage2 [0] RLToffBrake [0] VCMState0
Rltimer[2]
Rltimer[1]
Rltimer[0]
NoBrake
VCM1
VCM RLreg
read/write
02H
Rlcalib[3]
Rlcalib[2]
Rlcalib[1]
Rlcalib[0]
VCM2
VCMRL reg
read/write
03H
BemfOffCal
VCMState2
SPstate3
SPstate2
SPstate1
SPstate0
CTR1
SP&VCMst ate control control control control Kval DAC reg 1 DAC reg 2 ADC reg
read/write
04H 05H 06H 07H 08H 09H 0AH 0BH
SPslew2 SPIprot w4 LoadCP Kv7 GainSwitch dac7 ADC_DATA (9) ADC_DATA (1) reserved reserved test7
SPslew1 m3 w3 Advance Kv6 dac14 dac6 ADC_DATA (8) ADC_DATA (0) reserved reserved test6
SPslew0 m2 w2 FFWEn Kv5 dac13 dac5 ADC_DATA (7) ADC_RES _ADDR(1) reserved reserved test5
Curdac2 m1 w1 TO4 Kv4 dac12 dac4 ADC_DATA (6) ADC_RES _ADDR(0) reserved reserved test4
Curdac1 m0 w0 TO3 Kv3 dac11 dac3 ADC_DATA (5) ADCRange
Curdac0 TSDen PREADC(1) TO2 Kv2 dac10 dac2 ADC_DATA (4) ADC_CH_ ADDR(1) reserved reserved test2
PWMmask1 VnegEn PREADC(0) TO1 Kv1 dac9 dac1 ADC_DATA (3) ADC_CH_ ADDR(0) reserved reserved test1
PWMmask0 Sken PREsmo TO0 Kv0 dac8 dac0 ADC_DATA (2) ADC_START
CTR2 CTR3 CTR4 CTR5 KVR DAR1 DAR2 ADR
read/write read/write read/write read/write read/write read/write read/write readonly
0CH
ADR
ADC reg
read/write
0DH 0EH 0FH
reserved reserved test3
reserved reserved test0 TEST test
read/write read/write read/write
16/46
L7250
Table 2. Register map content description (continued)
Bit SPI field name Content
REGISTER SR, ADDRESS: 00H [2:0] [3] [4] [5] [6] [7] Rev[2:0] ThWarn ThShutdown ZCbad VCMcalOut SPNCurrSign Revision number of the device, set internally Thermal warning Thermal shutdown Signals a problem with spindle speed loop synchronism VCM error output in calibration mode Spindle current sign to implement adaptive torque optimizer control
REGISTER VCM1, ADDRESS: 01H [0] [3:1] NoBrake Rltimer[2:0] 0=VCM active brake phase enabled 1= VCM active brake phase disabled 000 = only Unload1 is enabled 001 = threshold set to 0.4V 010 = threshold set to 0.8V 011 = threshold set to 1.2V 100 = threshold set to 1.6V 101 = threshold set to 2V 110 = threshold set to 2.4V 111 = only Unload2 is enabled Selects between 4 values of unload voltage in Unload2 phase: 00 = 1V 01 = 1.125V 10 = 1.250V 11 = 1.375V Selects between 4 values of unload voltage in Unload1 phase: 00 = 0.375V 01 = 0.5V 10 = 0.625V 11 = 0.75V
[5:4]
Rlvoltage2[1:0]
[7:6]
Rlvoltage1[1:0]
REGISTER VCM2, ADDRESS: 02H [3:0] Rlcalib[3:0] 0111 = 29.4% 0110 = 25.2% 0101 = 21% 0100 = 16.8% 0011 = 12.6% 0010 = 8.4% 0001 = 4.2% 0000 = 0% 1111 = -4.2% 1110 = -8.4% 1101 = -12.6% 1100 = -16.8% 1011 = -21% 1010 = -25.2% 1001 = -29.4% 1000 = -33.6%
17/46
L7250
Table 2. Register map content description (continued)
Bit [5:4] SPI field name RLToffBrake[1:0] Content Selects the duration of Toff (Ton) active brake phase: 00 = 300usec 01 = 400usec 10 = 500usec 11 = 600usec Selects the Shock Sensor application 0 = piezo element 1 = charging element Selects the Shock Sensor threshold 0 = Vref +/- 200mV 1 = Vref +/- 500mV
[7]
SkockConf
[6]
SkockTh[0]
REGISTER CTR1, ADDRESS: 03H [3:0] Spstate[3:0] 0000 = CLCOAST 0001 = OLCOAST 0010 = OLSIX 0011 = OLSIN 0100 = OLBRAKE 0101 = INDSENSE 0110 = CLSIX 0111 = CLSIN 1000 = CLBRAKE Possible states for the VCM: 000 = Unload/Retract 001 = tri-state 010 = brake 011 = enable current mode 100 = enable voltage mode 101 = offset calibration 110 = confirm the previous state 111 = confirm the previous state VCM BEMF processor offset calibration
[6:4]
VCMstate[2:0]
[7]
BemfOffCal
REGISTER CTR2, ADDRESS: 04H [1:0] PWMmask[1:0] Selects the length of the mask over PWM rising edge: 00 = 2 us 01 = 4 us 10 = 6 us 11 = 8 us Selects the voltage threshold for the spindle current limiter: 000 = 250mV 001 = 300mV 010 = 350mV 011 = 400mV 100 = 450mV 101 = 500mV 110 = 550mV 111 = 600mV
[4:2]
Currdac[2:0]
18/46
L7250
Table 2. Register map content description (continued)
Bit [7:5] SPI field name Spslew[2:0] 000 = 10 V/us 001 = 20 V/us 010 = 30 V/us 011 = 40 V/us 100 = 50 V/us 101 = 60 V/us 110 = 70 V/us 111 = 80 V/us Content
REGISTER CTR3, ADDRESS: 05H [0] Sken 0 = shock sensor output no latched 1 = shock sensor output latched (to clear the latched information a transition 1 -> 0 -> 1 is necessary) 0 = negative regulator disabled 1 = negative regulator enabled 0 = thermal shutdown disabled 1 = thermal shutdown enabled masking while sensing ZC, expressed in terms of half samples after window opening In terms of electrical degrees the single mask step is 3.75. 0 = default protocol 1 = inverted SCLK protocol
[1] [2] [6:3]
Vnegen TSDen M[3:0]
[7]
SPIprot
REGISTER CTR4, ADDRESS: 06H [0] PREsmo 0 = spindle clock is system clock divided by two (FFWDADC clock is system clock divided by 8) 1 = spindle clock is system clock (FFWDADC clock is system clock divided by 4) 00 = sleep mode 01 = ADC clock is system clock divide by 4 10 = ADC clock is system clock divide by 2 11 = ADC clock is system clock Windowing while sensing ZC, expressed in terms of half samples before TO value In terms of electrical degrees the single window step is 3.75.
[2:1]
PREADC[1:0]
[7:3]
W[4:0]
REGISTER CTR5, ADDRESS: 07H [4:0] TO[4:0] Coarse and fine section of phase shift, applied for torque optimization. In terms of electrical degrees the Torque Optimizer single step is 0.937 electrical degrees. 0 = power supply compensation for spindle disabled 1 = power supply compensation for spindle enabled 0->1 increments by one the current sample position 0->1 enables load of TO value as the current sample position
[5] [6] [7]
FFWEn Advance LoadCP
REGISTER KVR, ADDRESS: 08H [7:0] Kv[7:0] KVAL factor for speed loop control
19/46
L7250
Table 2. Register map content description (continued)
Bit SPI field name Content
REGISTER DAR1, ADDRESS: 09H [6:0] [7] Dac[14:8] GainSwitch 7 MSB for VCM dac 0 = gain voltage of the VCM sense amplifier equal to 4.5 V/V 1 = gain voltage of the VCM sense amplifier equal to 16 V/V
REGISTER DAR2, ADDRESS: 0AH [7:0] Dac[7:0] 8 LSB for VCM dac
REGISTER ADR, ADDRESS: 0BH [7:0] ADC_DATA[9:2] 8 MSB output data from ADC conversion
REGISTER ADR, ADDRESS: 0CH [0] [2:1] ADCSTART ADC_CH_ADDR[1:0] 0-> 1 starts a new ADC conversion Channel whose conversion is required 00 = VCM current sense amplifier output 01 = VCM voltage amplifier output 10 = VCM BEMF 11 = Auxiliary Channel (external pin) 0 = the 4 signals enter directly (maintaining the proper dynamic range) the ADC block 1 = the 4 signals are scaled down to the ADC dynamic range Channel whose result conversion is currently present in ADC_DATA
[3]
ADCrange
[5:4]
ADC_RES_ADDR[1:0]
REGISTER ADR, ADDRESS: 0DH 0DH [7:0] reserved
REGISTER ADR, ADDRESS: 0EH 0EH [7:0] reserved
REGISTER ADR, ADDRESS: 0FH 0FH [7:0] Test[7:0] Test register
20/46
L7250
2 SPINDLE MOTOR CONTROLLER
Figure 3.
SUPPLY VOLTAGE COMPENSATION KVAL REGISTER KVAL SMOOTHDRIVE ADC MODULATED DUTY CYCLE START-OF-COUNT
VM
SMOOTHDRIVE RAW DUTY CYCLE
TIME DOMAIN DUTY CYCLE SIGNALS
HGU
VM
6 State or Sine Mode
SMOOTHDRIVE PROFILE MEMORY/ LOGIC
DIGITAL MULTIPLIER
COUNTER & COMPARATORS
FET GATE DRIVE
MOTU
LGU
VM
COARSE PHASE ADVANCE BITS LOADCP BIT OLSIX/OLSIN OR CLSIX/CLSIN ADVANCE BIT FINE PHASE ADVANCE BITS
FET GATE DRIVE
MEMORY ADDRESS COUNTER (N=48) FSCAN
HGV
WINDOW TRISTATE CMD
FET GATE DRIVE
MOTV
LGV
VM
HGW
SPINDLE MOTOR
MOTW
FSCAN COUNTER
Tc
ZERO CROSSING PERIOD COUNTER 16+4 BIT
WINDOW ZC MASK PWM MASK
BEMF COMP.
LGW
xx
CURRENT LIMIT COMP.
CTAP
xx
SPSENH
SYSCLK 16.5MHZ
MASK REGISTERS CUR DAC
2.1 Spindle Smoothdrive Functionality L7250 utilizes ST's proprietary Smoothdrive commutation algorithm. Smoothdrive is a voltage mode pseudosinusoidal spindle drive scheme where the duty cycles of the three windings are modulated to form sinusoidal voltages across each winding. The system determines the shape and amplitude of the driving voltages in a completely digital manner. 2.2 SYSCLK The Smoothdrive system clock comes through the SYSCLK pin. The system expects either 33MHz or 16.5MHz on this pin, and needs 16.5MHz internally. A SYSCLK divide by two can be enabled by a SPI register bit PRESMO to accomodate a 33MHz external clock. 2.3 Smoothdrive Wave shape The basic Smooth drive wave shape is stored in digital memory. A voltage profile designed to reduce switching losses and increase the voltage headroom has been implemented. Essentially, two phases are PWM'ed, while the low side driver of the third phase is on at 100% duty cycle. The PWM duty cycles are modulated in such a way as to result in sinusoidal currents on all 3 motor phases. Driving in this manner, as opposed to driving true sinusoids on all three phases, results in improved headroom and efficiency, approaching that of conventional 6 state commutation. The system is phase locked to the motor by sensing one BEMF zero crossing on one winding, once per electrical
21/46
L7250
cycle. A window is opened up in that winding, and it is tri-stated to allow sensing of the zero crossing. The width of the window opening is programmable, and can be made very small in steady state. A frequency locked loop keeps the wave shape in sync with the motor speed. The system is entirely digital, requiring no external components. The Smoothdrive wave shape is sync with the motor. It divides the electrical period, from one zero crossing to the next, into 48 evenly spaced sample periods. For each sample period, the driving duty cycle is defined for each motor phase by a table in the Smoothdrive logic. The Memory Address Counter sequences the samples through the cycle, and is clocked N times per cycle. The following describes how the frequency locked loop system works: There are N sine wave samples per electrical rev. N=48 for this design. Each electrical period (from one ZC to the next) is measured by a timer with an effective frequency of Fsysclk/ 48, resulting in a measured zero crossing period Tc. The timer does not actually run at Fsysclk/48 - the resolution is more like Fsysclk/3. The FSCAN Counter is a down counter preloaded with Tc, and running at Fsysclk. The FSCAN Counter puts out a pulse each time it hits zero, then it resets to Tc and counts down again. This cycle occurs N (48) times per electrical cycle. Thus, the FSCAN Counter divides the electrical cycle into N evenly spaced samples based on the previous Tc. The pulse signal out of this block, that occurs 48 times per electrical period, is called FSCAN. The Memory Address Counter counts FSCAN pulses, and tells the Profile Logic which full scale duty cycle values to use for each Smoothdrive sample period. 2.4 PWM rate The PWM rate is unrelated to the Smoothdrive sample rate. The minimum PWM rate is 32.2kHz with 16.5MHz spindle system clock, defined by (Fsys/512). The spin system clock is SYSCLK or SYSCLK/2, chosen via serial port (SYSCLK/2 is the default at power up). 9 bits of resolution define the duty cycle at each sample period. The PWM counter is reset at the beginning of each electrical cycle (at the ZC). The PWM duty cycle is defined for each of the two chopping phases by comparing the appropriate duty cycle values to the counter. The duty cycle values are the result of multiplying values in the Smoothdrive waveform table by the amplitude value KVAL coming from SPI. 2.5 Supply Voltage Compensation via ADC The Smoothdrive system is a voltage mode drive scheme. Without compensation, the spindle drive amplitude would be a proportion of the motor supply voltage. L7250 implements a supply voltage compensation scheme whereby the drive amplitude is indipendent on motor supply voltage. An internal 6 bit ADC reads the motor supply voltage variation (+/-10%), and the applied duty cycle is modified to keep the applied voltage constant. A side effect is that the PWM frequency will be changed as well as the duty cycle. The ADC runs on a 4MHz clock derived from the SYSCLK (it is divided by 8 if the PRESMO bit is set to zero else it is divided by 4). The conversion results affects the PWM counter once per PWM cycle, nominally 32 kHz. 2.6 BEMF comparator Hysteresis Since only one polarity ZC is detected, the BEMF comparator hysteresis no longer needs to contribute a time offset. The hysteresis is zero on the significant edge, and is engaged on the other edge. Thus, larger values of hysteresis can be used to provide noise immunity at low speed while coasting, without affecting ZC timing. Hysteresis of 50mV provides adeguate sensitivity for detecting motion startup, while improving noise immunity when the motor is moving very slow or is stationary. 2.7 Startup Algorithm Description L7250's spindle motor startup is controlled by firmware, and consists of four distinct phases: Inductive Position
22/46
L7250
Sense, to determine rotor position, Open Loop Commutation, which accelerates the motor to build up BEMF, Synchronization , to measure motor speed and position, initializing the Smoothdrive system, and Closed Loop Smoothdrive Commutation, the normal synchronous commutation mode to accelerate and run at speed. 2.7.1 Inductive Position Sense Inductive position sensing is achieved through a firmware routine that measures the current rise time in each of the six possible states (six steps profile), and uses this information to determine the rotor position. The six steps profile still comes from the Profile Memory that contains 48 samples, but in this case there are only six different configuration, each of them repeated eight times; the linear scansion of the memory one sample at a time gives a new six step configuration every eight increments. Before any operation can be done, the firmware routine must set the KVAL value present in SPI to the maximum value (*1) , to saturate the PWM signals given to the motor, and put the Memory Address Counter in a known position (*3); this is done keeping the motor in OLCOAST (*2) state and asserting a LoadCP command (*4) to load the content of the torque optimizer related SPI register into the Memory Address Counter. At this point, the present six steps configuration can be energized through the INDSENSE state (*5) , waiting for the current to reach the threshold programmable via SPI (*6); the current limiting comparator will be triggered by this condition, and it's output will be visible at ZC pad. The current rise time will be measured and stored from the ASIC (*7) . The device automatically limits the PWM signals for the three phases to limit the current, but the currents in the windings must be recirculated from firmware putting the motor in OLCOAST (*8) state. A burst of eight ADVANCE signals (*9) must be asserted from SPI to reach the next configuration in the profile memory, then the procedure can be repeated. Each winding can be excited more than one time, to average the measurements, and at the end of the sensing sequence the ASIC decides the rotor position. Figure 4. Inductive Sense Routine
START Inductive Sense Routine Nadv=0 , Nph=0
NO
Nph = 48
YES
Compare the Six Measured Rise Time to define the ROTOR POSITION
EXIT Inductive Sense Routine
(*2)
Set OLCOAST Write Reg.03H Spstate[3:0] = 0001
Nadv=0
YES
(*1)
Set KVAL Write Reg.08H Kv[7:0] = 11111111
Nadv=8
NO
(*3)
Set Torque Optimizer Write Reg.07H TO[4:0] = 00000
Inc Nadv Inc Nph
(*4)
Set Load Coarse Phase Write Reg.07H LoadCP = 1
Set ADVANCE Write Reg.07H Advance = 1
(*9)
Wait for Current Decay (*5)
Set INDUCTIVE SENSE Write Reg.03H Spstate[3:0] = 0101
Set OLCOAST Write Reg.03H Spstate[3:0] = 0001
(*8)
(*6) Measure Current Rise Time By reading the ZC (pin 22) Store the measured Current Rise Time & Nph associated (*7)
ZC=0
ZC=1
23/46
L7250
2.7.2 Open Loop Commutation After position sense is complete, the microcontroller commutates the motor following a constant acceleration profile until sufficient BEMF is developed to reliably measure it. The starting position of the open loop commutation, determined by the position sense routine, is set up by first initializing the Memory Address Counter using LOADCP (*1), then clocking ADVANCE (*2) the appropriate number of times (8 pulses per 6 state position). The spindle state will be OLCOAST while setting the initial state. Then, drivers are enabled in either OL_SIX or OL_SIN modes (*3) , depending on whether 6 state or sine mode open loop commutation is desired. Once the motor is accelerated up to an appropriate speed (*4) , the motor is tri-stated by transitioning to the OLCOAST (*5) and then CLCOAST states, as described below, to synchronize the Smoothdrive system to the motor. Figure 5. Open Loop Commutation
Note1: Spstate[3:0] condition has been set in OLCOAST by the Inductive Sense Routine (*1)
START Open Loop Commutation Nadv=0 , i=0
EXIT Open Loop Commutation
Set Load Coarse Phase Write Reg.07H LoadCP = 1
(*5)
Set OLCOAST Write Reg.03H Spstate[3:0]=0001
(*2)
Set ADVANCE Write Reg.07H Advance = 1
(*4) i = RAMP_Steps
Inc Nadv
Note2: Nalign is received from the Inductive Sense routine Indicating the rotor position alignement
Inc i
Nadv=Nalign
Wait the End of RAMP_DELAY[ i ]
(*3)
Accelerate in Sine or Six
SIX
Set Open Loop SIX Write Reg.03H Spstate[3:0] =0010
SINE
Set Open Loop SINE Write Reg.03H Spstate[3:0] =0011
Set ADVANCE Write Reg.07H Advance = 1
2.7.3 Synchronization to Smoothdrive Commutation When the open loop commutation is complete, the drivers are put in OLCOAST mode, and after a delay for setting the Bemf sampling period, CLCOAST is asserted, so that a ZC Period (Tc, the time between two BEMF zero crossings) can be detected and measured. The BEMF sampling period is set in OLCOAST (*1) and after a delay (30 usec ) a Load CP (*2) is asserted. After a delay of time Tc0 (300usec suggested) another Load CP is asserted (*3); this initializes the electrical period for BEMF sampling. Once pregrammed the transition to CLCOAST (*4) , the BEMF is sampled at the rate of Tc0 to look for two consecutive LOW readings (in anticipation of the LOW->HI zero crossing transition (*5) ). After the first ZC rising edge, the BEMF sampling period is refreshed to Tc0 value. If two consecutive ZC edges are detected (*6), then after the last rising edge the Smoothdrive commutation is synchronized with the motor rotor position and it is ready to be programmed in closed loop commutation . At least two ZCs must be observed before transitioning to closed loop spinup (CLSIX or CLSIN) (*7a or *7b) . This ensures that the Smoothdrive circuitry is synchronized to the spindle motor.
24/46
L7250
Figure 6. Synchronization to Smooth Drive Commutation
ZC_SamplingRoutine BEGIN
START Sync. To SmoothDrive Commutation i=0
EXIT Sync. To Smooth Drive Commutation
(*1)
Set OLCOAST Write Reg.03H Spstate[3:0]=0001 CALL ZC_SamplingTime Routine Set Closed Loop SIX Write Reg.03H Spstate[3:0] =0110
(*7a) (*7b) Motor Running in Sine or Six
Wait Loop (30 usec)
Set Closed Loop SINE Write Reg.03H Spstate[3:0] =0111
(*2)
Set Load Coarse Phase Write Reg.07H LoadCP = 1 Reset Time Out Wait Loop (300 usec)
SIX
SINE
NO (*3)
Set Load Coarse Phase Write Reg.07H LoadCP = 1
(*5) NO Wait Rising Edge of ZC (pin 22) YES (*6) i=2 NO
Inc i Reset Time Out CALL ZC_SamplingTime Routine
Time Out Control YES
(*4)
Set CLCOAST Write Reg.03H Spstate[3:0]=0000
ZC_SamplingRoutine END
START UP FAILURE Exit
YES
2.7.4 Closed Loop Commutation During closed loop commutation, the motor is driven following the smooth driver wave shape (or the traditional six step profile). To keep sync, each electrical cycle a winding of the spindle motor (phase U) is tri-stated, for a programmable (via SPI) window (W), to sense for the ZC occurrence; to mask the current flyback time a masking time is applied starting from the opened window for a certain number M of samples (settable via SPI). Due to the fact that the motor winding is driven in voltage mode a control of the phase shift between the applied voltage and the Bemf is required in order to optimize the system efficiency (the loss in efficiency is related to the cosine of the angle between Bemf and current). Via the SPI it is possible to set an appropriate Torque Optimizer (TO) value based on the application characteristics (Rm, Lm, Speed). When a ZC is detected the circuit starts scanning the stored smooth drive wave shape (or the traditional six step profile) from the number of sample pointed by the TO register; the tri-stated window is opened a certain number of samples before. In the following table the relation between the TO register contents and the window and masking time position and duration:
start window mask TO-W TO-W stop At ZC detection TO-W+M
25/46
L7250
2.8 Spindle PWM Current Limiting Peak motor current is limited with a fixed frequency PWM scheme that works in conjunction with the Smoothdrive PWM rate. When the current limit threshold is reached the motor is put in brake condition, and it is reenabled at the beginning of the next PWM cycle if the current limiting condition is false. Spindle current is sensed via an external resistor connected from the low side driver sources to ground. This sense voltage is compared to an internal programmable voltage reference (Reg04H Currdac[2:0]). There is a built in digital filter, generating a SYSCLK derived delay (20 * SYSCLK period) from the over current event. This delay appears on both edges of the current limiting comparator. 2.9 Slew Rate Control Closed loop Voltage Slew rate control is provided on both edges for the high and low side drivers. The slew rate value can be set with three bits in the serial port (Reg04H Spslew[2:0]). Slew rates up to 80V/us and down to 10V/us will be controllable. 2.10 Synchronous rectification The appropriate low-side driver is enabled during the off-time phase to conduct recirculation current with a lower voltage drop than the low side driver body diode, reducing power losses. Crossover current protection is provided to prevent shoot-through currents. 2.11 Open loop and closed loop brake Spindle braking may be done while keeping the Smoothdrive system in sync with the motor, or not. Closed Loop Braking means ZC's are still being detected in the same way as when normally commutating. So, all 3 motor phases are driven low, but when the window is normally opened to look for a ZC, MOTU is tri-stated. When the ZC occurs, MOTU is driven low as the other motor phases, until the next window comes up. A motionless motor will wait for a ZC, keeping MOTU tri-stated and the other two phases low. Open loop braking means that all 3 motor phases are driven low, and ZC's are not detected. Braking caused by a power fault is always open loop braking. CBRK provides control voltage for brake circuitry after power fails. An external cap on this pin is charged to 5V, so that the cap stays charged after a power failure.
26/46
L7250
3 VOICE COIL MOTOR DRIVER
The VCM driver is configured as a transconductance amp, with an n-channel DMOS H-bridge power output, current sense amp, error amp, and 15 bit linear DAC for command input. The power stage is a class AB voltage amp. The error amp closes the transconductance loop around the power amp, using feedback from the current sense amp. The VCM block is shown below. Figure 7. VCM Driver Block Diagram
VCV
1/2/54/55 POR S1
39
Rc Cc
VM/2
VM
52/53
DACREF
38
ErrorAmp
DACREF
Gpow
VCMN
45/46
Tristate
VM/2
S2
43/44
VCM GND
Rs
VM
Rm Lm
VCMP
DACREF
3/4
Ri
37
DAC 15
DACREF AGND
Gpow
VCM GND
5/6
Rf
40
SenseAmp
DACREF
Gs
42 41
Tristate
The current flowing into the voice coil is equal to: R 1 I c oil = - ----- ---------------- V in Ri Rs Gs Where Gs is the sensing opamp gain (programmable via serial port Considering a typical application where Rf = 5.6k, Ri = 2.5k, Rs = 0.25 and Gs = 4.5V/V we obtain a maximum current equal to about 2A for 1V DAC output (Vin). The sense amplifier input range is about 0.55V. The power stages assure this current requirement and they have a differential gain of 16. The loop is compensated through the RC network Rc and Cc that cancels out the motor pole Lm/Rm. This graphic shows the theoretic Gloop Bode diagram and put in evidence the second pole of the loop that is strictly related to the error amplifier bandwidth. Figure 8. Gloop
Ri A 0 2G po w R s G s ------------------------------------------------- ---------------Ri + R f R s + Rm
G loo p
Ri A 0 ----------------Ri + Rf Rc ----Rf
2G p ow R s G 1 -------------------------------------s --------------R f Cc Rs + R m
F dt error closed loop
Ri t ---------------Ri + Rf 1 ---------------R c Cc 1 --------------Rf C c
Rf Ri t -------------------------------Rc ( R f + Ri )
27/46
L7250
Considering a typical application with Rs = 0.25, Lm = 0.75mH, Rm = 7.5, Gs = 4.5 Gpow = 8, Rf = 5.6K, Cc = 3.3nF, Rc = 33k we will obtain a bandwidth about 20kHz. To increase the bandwidth a different values of the external components could be calculated following the above relation and taking in account the limitation introduced by the second pole due to the error amplifier bandwidth (t). This one has a typical value about 4MHz. 3.1 VCM Operating Modes and Control At power-on-reset the VCM register is cleared and the VCM is in Unload/Retract mode. Via serial port is possible to command the following modes: Unload/Retract, Tri-state (disable), Brake, Enable Current Mode, Enable Voltage Mode, Offset Calibration 3.2 VCM Power Driver H-Bridge The VCM driver is capable of high performance linear, class-AB, H-bridge operation with all power devices internal. The power amp stage is configured as a voltage amp with gain of 16. The H-bridge consists of 4 N-channel DMOS power transistors. Power is supplied to the H-bridge through the internal ISO-FET ( at pins VM 52,53), and ground returned via four VCMGND pins (5,6,43,44). Boosted gate drive for the high side drivers is provided by the charge pump circuitry, with the boosted voltage at the VCP pin. 3.3 VCM Current Command 15 bit DAC The VCM current command is defined by an internal linear, 2's complement, 15 bit DAC. The mid scale reference for the DAC, VREF25, is defined by an on-chip reference at 2.5V. VREF25 is the reference for the sense amp and error amp in the VCM loop. Level shifting from VREF25 to VM/2 will be done in the power stage. 0x3FFF Max current flowing from VCMN to VCMP (current mode operation) 0x---0x0001 0x0000 zero current 0xFFFF 0x---0x4000 Max current flowing from VCMP to VCMN (current mode operation) To write the 15 bit DAC the two register REG09H [14:8] and REG0AH [7:0] have to be referred. At any time the MSB register is entered, to apply the modification also the LSB register must be write. Instead writing only the LSB register its content will be immediatly visible on the DAC structure. Then a double write sequence its necessary if the [14:8] bit have to be modified while it is possible to move the DAC in a fine way (write of the [7:0] bit) with only one write sequence. 3.4 VCM Current Sense Amp VCM current is sensed by a diff amp that amplifies and level shifts the voltage drop across an external resistor in series with the VCM coil. The sense amp has a nominal differential voltage gain programmable through the serial port bit Reg09H bit 7, and the output, VSENSE, is relative to VREF25 (pin 21). The amp has been design to have high common mode rejection (over 70dB at DC), Power supply rejection over 60dB, and as low an input offset as possible. 3.5 VCM Current Loop Error Amplifier The VCM error amp gains up the difference between the current command voltage DAC_OUT and the current sense voltage VSENSE. VCM current loop compensation is implemented externally with an RC network connected across ERR_IN and ERR_OUT. The error amp output is referred to VREF25. 3.6 Error Amp Output Clamp The error amp output swing is clamped in both directions (Vref25+/-3Vbe) to prevent wind-up of the integrating compensation components around the error amp in the event of saturation.
28/46
L7250
3.6.1 Voltage Mode In Voltage Mode, the VCM power outputs will apply a voltage to the VCM motor commanded by the VCM DAC. This is implemented by tristating the sense amp and error amp outputs, and connecting DAC_OUT to ERR_OUT with an internal switch (switch S2). Skipping the err_out amplifier the DAC command will enter the power section without any inversion, then the DAC codification must be considered in opposite direction respect to the current mode operation. 3.7 VCM Loop Offset Calibration Mode The VCM Loop Calibration mode can be implemented following two different approach: 1) The VCM loop is enabled (sense amp, error amp, DAC), but the VCM power stage is tri-stated. Thus, the sense amp is guaranteed to be monitoring a zero current condition. To implement offset calibration, the current command is swept through zero by the controller ASIC. Since the Gm loop is open, the error amp output will be saturated in one direction or the other depending on the current command (to configurate the error opamp as a comparator the external compensation network will be disconnected opening the switch S1). As the command sweeps through the zero current command point, the error amp output will swing to the other extreme. The comparator senses the output swing of the error amp, and through the serial port (Reg. 00H -> b6) interrupts the ASIC. The appropriate DAC value corresponding to the trip point interrupt is the loop zero current offset. Figure 9. VCM Current Loop Offset Calibration 1
START VCM Current Loop Offset Calibration Routine
Set VCM Offset Calibration Write Reg.03H VCMState[2:0] = 101
DAC_VAL = 0 Flag1 = 0 , Flag2 = 0
* DAC_VAL is in 2 complement format
Set SenseAmpl.Gain Write Reg.09H GainSW bit = 0
4.5 V/V
Select Sense Amplifier Gain
16 V/V
Set SenseAmpl.Gain Write Reg.09H GainSW bit = 1
Flag1 = 1
UPDATE 15 Bit DAC Write Reg.09H dac[14:0]= DAC_VAL
Flag2 = 1
DAC_VAL = DAC_VAL +1
Read Error Ampl Output Read Reg.00H VCMcalOut bit value
DAC_VAL = DAC_VAL -1
NO Flag2 =1 YES NO VCMcalOut = 0 YES
NO Flag1 = 1 YES
Store the DAC_VAL as the zero loop offset
EXIT VCM Current Loop Offset Calibration Routine
29/46
L7250
2) A second approach is considering to have the VCM in stop position; to enable it in current mode configuration driving current in the right direction in order to be sure to mantain the stop position; to decrement the 15bit DAC value to reach the zero current condition using the 10bit ADC to measure the current value. In the following diagram a detailed flow chart is presented. Figure 10. VCM Current Loop Offset Calibration 2
START Current Mode "Zero Iout" Calibration Routine
No
Iout
Polarity check ADC_DATA[9] = 0
Yes Flag_A=0 No
Yes
Flag_A=0 DACvalue=1200 ( 0x4B0 ) Note 1 Flag_A=1 Set VCM inTristate Write Reg.03H VCMState[2:0] = 001 DACvalue-=1
EXIT with Error 1 Calibration not performed Positive offset to big
StoreDACvalue As reference for ZERO Iout
EXIT Current Mode "Zero Iout" Calibration Routine
Call
IoutDigitalVal Routine Iout_Offset = ADC_DATA[9:0] Note 2
Yes DACvalue <-1200 No
EXIT with Error 2 Calibration not performed Negative offset to big
START IoutDigitalVal Routine
Set 15BitDAC to have VCM Current with no motion Write Reg.09H & Reg.0Ah Dac[14:0] = DACvalue Set the GainSw to High or Low
START 10Bit ADC Conversion of the Iout Channel Write Reg.0CH ADC_CH_ADDR[1:0] =00 ADC_START=1 ADC_DATA[9:0] -= Iout_offset ( Subtract the offset ) Read 10Bit ADC Read Reg.0BH ADC_DATA[9:2] Read Reg.0CH ADC_DATA[1:0] Wait End of Conversion
Set VCM in En.Current Mode Write Reg.03H VCMState [2:0] = 011
NO
YES
Wait 20msec Update the 15BitDAC Write Reg.09H & Reg.0Ah Dac[14:0] =DACvalue
Call
IoutDigitalVal Routine
EXIT IoutDigitalVal Routine
Note 1 : once the VCM will be enabled in current mode with the DAC value at 1200 the current will keep the motor against the crash stop position Note 2 : with the VCM in tristate, the result of the digital conversion of the Iout Channel has to be used as ZERO current offset value
30/46
L7250
3.8 VCM Ramp Load / Unload System Figure 11.
VCM
Predriver
VCMP
+A
Rs VCMN
VCM
-A
Offset calibration
Gain Calibration Procedure
5 MSB from ADC CalCoarse
29 Vcontrol
_ +
VGA
_ +
Fine calibration bit from Serial Port
Bemf
_ +
Voltage
ADC
10 bit
to Serial Port
+
_
Current
(Sense Ampl)
Sel&start
The Ramp Load system is designed to allow a microcontrolled assisted constant velocity for ramp loading and unloading. VCM Current-Voltage-Bemf monitor circuitry is integrated for the loading or unloading operation. VCM CurrentVoltage-Bemf are converted in digital by a 10 bit AD converter and can be read through the serial port. 3.8.1 Load/Unload operation at power good When both the 12V and 5V are present, the Load/Unload operation can be assisted by the microcontroller. The power stage can be driven in both current and voltage mode and the velocity of the Load/Unload operation is controlled by reading the internal registers that give information regarding the VCM current, voltage and the Bemf generated by the VCM motion. The VCM current measurements is done by sending to the AD converter the output of the VCM Current Sense Ampl. The VCM voltage is measured by connecting an operational amplifier, with a scaling factor, to the VCMP and VCMN of the power stage. The VCM Bemf detection is done using a first amplifier, having a controlled gain, followed by a second operational amplifier implementing the transfer function necessary to BEMF reconstruction. The programmable gain of the first operational amplifier it is necessary to consider various coil resistance values related to different application. The BEMF information is carry out on pin VCMBEMF (31) for filtering pourpose (the output impedance is typically set to 500ohm). The conversion in digital of these parameters is used by the microcontroller as a feedback to close the velocity control loop during the ramp loading or unloading operation, and to perform calibrations. All these signals can enter directly the ADC block (ADCrange bit = 0) or can be scaled to adjust the dynamic range to the ADC one (ADCRange bit = 1). The scaling factor is set equal to 2.25 for the `Current', `Voltage', `Auxiliary' input channels, while is set to 1.25 for the `Bemf' input channel.
31/46
L7250
3.8.2 Gain Calibration Procedure The Bemf detector circuitry must be calibrated right before the beginning of any Load/Unload operation. Because the coil resistance can vary up to 30% due to thermal effects, it is necessary to calibrate the gain of the first stage depending on the ratio between the operating coil resistance value and the sense resistance value. The output of the Bemf detector circuiry is: Bemf = OutP - OutM - Rs*Ivcm ( 1+ Rm/Rs) where: Rm = motor resistance Rs = sensing resistance If the Gain of the first stage is matching the ratio between the coil resistance at operating temperature and the sense resistor, the Bemf measured is right the value generated by the VCM motion. The gain trimming is done with the VCM in a stop position (no Bemf must be generated) with a certain amount of current flowing into the coil; in this condition the gain must be adjusted in order to have zero voltage from the Bemf circuitry. The gain adjusting is splitted in two phases. A coarse calibration is obtained setting the external resistor divider at the CalCoarse pin (29) following the relation: Vcontrol = [0.21 + (Rm/Rs) / 28.8] Vcontrol max. range = Vbg 0.75V Where: Vbg = bandgap voltage (typ = 1.25) A fine calibration is obtained by writing the internal register 02H -> b[3:0]. The fine calibration is used to compensate the variation of the VCM coil resistance according with operating temperature condition. The calibration is implemented moving the Vcontrol voltage by a percentage indicated on the RLcal table at pag.17. 3.8.3 VCM Bemf offset trimming Due to the high gain necessary to implement the BEMF reconstruction, the inpact of the offset on the output value is very high. For this reason dedicated circuitry, using the 5 MSB of the AD converter, has been integrated in order to compensate this offset. The flow chart below reported are describing the method to implement the offset calibration.
32/46
L7250
Figure 12. VCM Bemf Offset Calibration CLEAR Routine
START VCM Bemf offset calibration CLEAR Routine Set VCM in Tristate Write Reg.03H VCMState[2:0] = 001
Reset Rm/Rs FINE Calibration Write Reg.02H Rlcalib[3:0] = 0000
Set PREADC in Sleep Write Reg.06H PREADC[1:0] = 00
OPTIONAL
Read 10Bit ADC Read Reg.0BH ADC_DATA[9:2] =00000000 (reset value) Read Reg.0CH ADC_DATA[1:0] =00XXXXXX (reset value)
Latch Offset Compensation Write Reg.03H BemfOffCal = 1 then BemfOffCal = 0
Set ADC Clock Write Reg.06H PREADC[1:0] = 01
EXIT VCM Bemf offset calibration CLEAR Routine
33/46
L7250
Figure 13. VCM Bemf Offset CALIBRATION Routine
START VCM Bemf offset calibration Routine
Set VCM in Tristate W rite Reg.03H VCMState[2:0] = 001
Set ADC Clock W rite Reg.06H PREADC[1:0] = 01
START 10Bit ADC Conversion of the BEMF Channel W rite Reg.0CH ADC_CH_ADDR[1:0] =10 ADC_START=1
W ait End of Conversion OPTIONAL
Read 10Bit ADC Read Reg.0BH ADC_DATA[9:2] Read Reg.0CH ADC_DATA[1:0]
NO
YES
Latch Offset Compensation W rite Reg.03H BemfOffCal = 1 then BemfOffCal = 0
EXIT VCM Bemf offset calibration
To restart this routine is mandatory to start First the clear routine (see Fig. 10)
At the end of the calibration routine the analog value measured at pin 31 is rapresenting the VCM BEMF value at the zero motion (BEMF zero value). With the ADC it is possible to operate a new convertion in order to memorize this value and to take in account of it during the load/unload procedure. 3.8.4 Power Off Unload - Active brake and constant voltage unload operation In case of power shut down, an unload procedure start automatically in order to take the heads over the ramp in the parking position (the same procedure can be also enabled, when the power is on, via serial port programming the unload/retract status of the VCM -> reg. 03H. In this case at the end of the unload phase the spindle motor is driven in tri-state condition). The unload procedure doesn't start at power off if the VCM status bit are set to 000 because the system is considering the heads already in park position. No entering the unload procedure also the spindle brake is not activated. The unload procedure is done in two step: - active brake - constant voltage unload operation The unload procedure take place only if the VCM status bit have moved from the 000 configuration. Otherwise the unload procedure doesn't start and in case of power shut down the spindle motor enter the brake condition. Active Brake : it is used to have a fast recovery of the VCM velocity down to the unload programmed velocity. If just before a power shut down a fast seek was commanded, it is necessary to recover the VCM velocity in
34/46
L7250
order to avoid to rise the ramp or to meet the ID crash stop at high speed. The over velocity detector circuit consist in a window comparator; in case of power failure the VCM power stage is tristated (for a fixed time about 200s) in order to detect the amplitude of the Bemf generated by the VCM motion. If the VCM Bemf is out of the window of the over velocity detector (this means that the heads are travelling at high speed versus the inner or outer position), the active brake routine is invoked. The voltage threshold ( = motor electrical constant * motor angular velocity), setting the over velocity detector window, is set internally to 1.1V (to 0.4V if 5V application is considered). At the contrary, if the VCM speed is inside the window (the heads where on track or moving slowly) the active brake is skipped and the constant unload operation is commanded. The active brake routine consist in a procedure that drive the VCM alternately with two steps: - first activating the diagonal of the power stage in order to drive current in the right direction to slow down the speed of the VCM for a time (RLTonBrake) that is half of the programmed RLToffBrake. - then activating both the low side drivers of the power stage putting the VCM in short brake condition for a programmable time (RLToffBrake). With the VCM in short brake the current into the coil is forced by the Bemf generated by the motion of the motor and the sense amplifier output is sensed in order to detect indirectly the VCM speed. The switch between the active brake routine and the constant voltage unload operation is done when the VCM current, measured at the sense amplifier output during the short brake condition, fall down to zero (VCM is stopped). The RLToffBrake (and so the RLTonBrake) time can be programmed by writing the Reg. 02H. The active brake procedure can enabled/disabled by writing the Reg. 01H. In case the active brake procedure is disabled, at power off the constant unload operation start immediately. Constant Voltage Unload operation : a constant voltage (with a sink and source capability) is applied to the VCM in order to drive the heads over the ramp in the parking position. According with the contents of the registers REG. 01H it is possible to perform the unload operation in one or two steps and for each steps to select the voltage level applied to the VCM. The capacitor connected at the Timer1 (pin 28) define the total time of the unload operation ; during the unload operation this capacitor is discharged by un internal constant current generator. Programming the bit `b3b2b1' of the REG. 01H it is possible to select different unload procedures: With these bit set to 000 the unload is done in one step with the voltage selected by the two bit RLvoltage1 of REG. 01H. With these bit set to 111 the unload is done in one step with the voltage selected by the two bit RLvoltage2 of REG. 01H. The spindle motor is tristated during the unload operation The other combinations of the bit `b3b2b1' defines different threshold for the comparison with the discharging voltage of the capacitor at pin 21 . The timing for the first step is with the capacitor voltage greater then the programmed threshold, the timing for the second step start when the capacitor voltage is below the threshold and end when the capacitor is discharged under the 'end unload threshold' (0.2V typ) . In all the cases, when the capacitor at pin 21 is discharged under the 'end unload threshold' the spindle motor is driven inbrake condition. The typical value of the retract procedure timing can be extimated using the following expression: T = Tstep1 + Tstep2 = 1.15 * Cext Where: Cext = External capacitor at pin `Timer1' (28) measured in uF
35/46
L7250
Figure 14. Costant voltage retract operation at power down
C o n s ta n t V o lta g e R e tra c t O p e r a tio n
H ig h
C he ck N P O R S ta tu s Low S e t S p in d le P o w e r s in T R IS T A T E
G e t R ltim e r [2 :0 ] R e a d R e g .0 1 H
D is a b le d
C he ck V C M A c tiv e B r a k e P r o c . R e g .0 1 H -b it[0 ]
E n a b le d
S ta r t th e V C M A c tiv e B r a k e P ro ce du re
(*)
R ltim e r [2 :0 ] = "0 0 0 "
No
R ltim e r [2 :0 ] = "1 1 1 " Y es S ta r t O N L Y U n lo a d 1 w ith th e s e le c te d R lv o lta g e 1 S ta r t O N L Y U n lo a d 2 w ith th e s e le c te d R lv o lta g e 2
No
S ta r t U n lo a d 1 + U n lo a d 2 w ith th e s e le c te d R lv o lta g e 1 & R lv o lta g e 2
W a it E N D o f R ltim e r
S e t S p in d le P o w e r s in B R A K E
END
Figure 15. Two step unload temporization
Voltage Capacitor pin 21
POR
Programming Threshold End Unload Threshold
Time Step 1 Step 2
36/46
L7250
3.8.5 Constant Voltage Unload operation at POWER ON The same costant voltage retract operation can be activated via software (during a power on phase). In that case no actions are implemented to the spindle motor; the spindle motor will continue to mantain its running status. Again in power on condition if the bit `b3b2b1' of the REG. 01H are set to 000 or 111 only one step costant voltage retract is activated as in power off condition with the difference that when the `End unload threshold' is reached the retract voltage is mantained applied to the motor until a different programmation is asserted via serial port by the microcontroller. In all the others `b3b2b1' combination as the timer1 is elapsed the VCM is put in tristate condition.
NOTE: In case of Hard Disk application with CSS operation (no Ramp Loading), the polarity of the VCM connection must be reversed. In this way the active brake and the constant voltage unload operations will force the heads in the inner position of the disks.
3.9 10 bit AD converter The L7250 device includes a 10 bit analog to digital converter (hereafter ADC). The ADC uses a two complement output code. The ADC converts one of four different channels on demand, through SPI, and result of conversion can be read from SPI too. The uC tells the ADC which channel must be converted, gives a start signal, reads the conversion result; all this happens through the SPI. The ADC convertion frequency, then its conversion time, could be changed using two bits into the serial port (Reg 06H -> b1,b2). Setting these two bit to the configuration 00 the ADC can be disabled entering a sleep mode status. Hereafter is listed the recommended sequence of operations to obtain a conversion from ADC: A) C selects which channel must be converted, writing the ADC_CH_ADDR field in SPI (Reg 0CH -> b1,b2); C selects the ADC input range writing the ADCRange bit (Reg 0CH -> b3); C writes high the ADC_START bit (Reg 0CH ->b0) in SPI (end of required conversion automatically resets it); B) now C can read the conversion result from the SPI registers; C) a new conversion can be required. The C isn't allowed to require a conversion start when the ADC is already running; the start bit can be written anyway, but ADC logic ignores it and continues the current conversion. If the uC avoids modifies over the ADC_START bit, it can be used as a flag to state the end of the conversion. The result of conversion is ten bits wide, larger than the 8 bits SPI registers, so it has been spanned over two registers; if allowed by the precision required for the application, only the 8 msbits can be read with a single SPI read operation, saving some time. A new conversion can be required after the end of the previous one but before the read-back of the result, i.e. swapping the order of (B) and (C) points listed before; working this way, it's possible to convert values closer in time than with the previous sequence. SPI includes an additional read-only field (2bits) that contains the channel number related to the present conversion result.
37/46
L7250
4 POWER MONITOR, VOLTAGE REGULATORS AND SHOCK SENSOR
4.1 NPOR - Power ON Reset The Power On Reset circuit monitors 12V and 5V power supplies as well as 3.3V and 2.5V regulators. If any monitored voltage falls below its under voltage threshold, NPOR is latched low after an internal glitch filter delay. When the positive regulators are in position, a delay time is added, the POR delay, before NPOR goes high and the reset condition is cleared. During this delay time, any power fault will reset the POR delay and start the process over again. TDelay = 0.520 * Cext Where : Cext = External capacitor on pin CPOR measured in uF. 4.2 Linear Voltage Regulators:1.8V & 3.3V The 3.3V linear use an external NPN transistor connected to the 5V power supply line, instead the 1.8V linear regulator use an external NPN transistor that could be connected to the 3.3V line or to the 5V power supply line. To fix the 1.8V regulator voltage output an external resistor divider as to be used. The regulated voltage could be varied around the 1.8V value (from 1.3V to 2V) choosing the external divider appropriately. The stability of the two regulators is guarantee by the external filter capacitor . The internal Vbg reference is trimmed at the wafer level.
Figure 16. Linear positive regulators
VCC5
V bg 15
3 3_ B ase
R2 16 R1
33_Feed
3.3V ou tp u t
C ex t
VCC5
Vbg 13
2 5 _B a se
2 5_ F e e d
R 1ext
1.8V output
14 R 2ext
C ex t
38/46
L7250
4.3 Negative Voltage Regulator (flyback configuration) This is the default Negative Voltage Regulator configuration; programming the Test Register is possible to reconfigurate this regulator following the indication present on the next paragraph. The negative voltage regulator is a fixed frequency switcher intended to provide bias for the MR head preamp. The NVR consists of an internal triangular wave oscillator, an error amplifier, a comparator and a circuitry to soft start_up the regulator itself, in conjunction with an external PMOS power device, power diode, inductor, capacitor, feedback resistors and compensation network (refer to the block diagram of the negative voltage regulator including also the external components). The error amp compares the external voltage feedback to the internal reference (Vbg = 1.25V). The voltage difference value is scaled by two external resistors. The ratio of these two resistors determines the nominal value of the regulated negative voltage (the internal reference is set to the bandgap voltage ~1.25V). The error amplifier input is available at N_FEED pin and the amplifier output is available at N_COMP pin. The voltage error gain and the loop compensation can be adjusted by the external components across these two pins. The output of the error amplifier is compared to an internal triangular wave oscillator to determine the duty cycle of the external PMOS power switch. A voltage clamp is placed on the error amplifier output to limit the maximum duty cycle. The nominal value of the triangular wave oscillator frequency is 500 kHz (programming the test register Reg 0FH to `00001001' it is possible to increment the switching frequency to the nominal value of 1Mhz). During the ON portion of the duty cycle, the PMOS charges an external inductor. During the OFF phase, the inductor charges a capacitor through an external diode, in a voltage inverter configuration. This architecture avoids any negative voltage on the L7250 IC pins. Under normal specified load conditions and correct scaling of the external components the regulator circuit should operates in a constant frequency variable duty cycle switch mode without any cycle slips. The NVR include also a digital soft start_up circuitry in order to limit the in rush current coming from the power supply when the regulator is turned-on. The NVR is controlled via serial port (using the Reg. 05H -> b1 the regulator could be turned on and off). During the power-up and power-down phases the regulator is always off being the serial port in reset status then the VnegEn bit equal to zero. During those phases the N_DRV output driver is in tri-state condition then an external pull-up to assure the Pch off condition must be considered.
Figure 17. Negative regulator (Flyback configuration) - default configuration
VCC5
V REF25
500Khz - 1Mhz 5K
Vbg
(typ 1.2 5)
21
N _D R V
R 1e x t M 1 ex t R 2e x t
10 12
N_COM P
C c ex t
C fe xt
11
N _F E E D
R c ex t
39/46
L7250
4.4 Negative Voltage Regulator (CUK configuration) Programming the Test Register Reg 0FH to `00101001' it is possible to re-configurate the negative regulator loop inverting its polarity. All the others test register (Reg0FH) configurations are resetting to the default negative voltage regulator loop polarity (take care to avoid the test register bits modification if the `CUK configuration' hardware is present and the negative regulator is enabled). The functionality of the regulator is the same descripted on the previous paragraph with the difference that the loop polarity is reversed to permit to drive the external Nch component. During this operation the nominal value of the triangular wave oscillator frequency is always fixed to 1 MHz. The NVR is controlled via serial port (using the Reg. 05H -> b1 the regulator could be turned on and off). Take care to program correctly the Test Register to enter the CUK configuration before to enable the NVR. During the power-up and power-down phases the regulator is always off being the serial port in reset status then the VnegEn bit equal to zero. During those phases the N_DRV output driver is in tri-state condition then an external pull-down to assure the Nch off condition must be considered. Figure 18. Negative regulator (CUK configuration) - Test register => 00101001
VCC5
V R EF 25
21 R 1 ex t R 2e xt
C 1 ex t 1Mhz
N _D R V Vbg
(typ 1.25 )
10 12
N _C O M P
M 1 ex t
C fe xt
5K
C ce x t
11
N _F E E D
R ce x t
40/46
L7250
4.5 Shock Sensor This block takes input from a piezoelectric or charging mode shock sensor element (selectable using the SPI bit ShockConf -> Reg02H, bit 7 ), and includes external filtering capability. A digital latched signal is available on SkDout pin if the Sken bit (from SPI) is set to 1 otherwise the SkDout pin is transparent to the shock signal. If the output signal has been latched, a pulse to zero of the Sken bit it is necessary to clear it. The shock sensor element will be connected to the Skin and VREF25. Figure 19. Piezoelectric Shock Sensor typical application block diagram (Reg02H->bit7=0)
9R
V re f25
Vref25+ VthH 0
21
10M
R
27
S k D ou t
Vref25
S
1
23
S k in
Vref25-VthL
R
24 S k O u t
C 1ex t R 1e xt
25 S k F in
C 2ex t
26
S k F ou t
S kE n (fro m S PI)
R 2 ext
Figure 20. Charging Shock Sensor typical application block diagram (Reg02H->bit7=1)
V ref25+V thH
V re f2 5
0 Vref25 S 1
27
S kD o u t
21 23
S k in C S ext
R G 1ext
Vref25-VthL
R
24 SkO ut
C 1 ext R 1ex t
2 5 S k F in
C 2 ext
26
SkFout
S kE n (from SP I)
R G2 ext
R S ext
V ref25
R 2e xt
41/46
L7250
4.6 Over Temperature Protection L7250 has a temperature protection circuit consisting of a temperature sense circuit and two comparators. The temperature sense circuit generates a voltage proportional to the absolute die temperature. One comparator trips when the die temperature exceeds 140 deg C, asserting the temperature warning signal in the status register (ThWarn in the Reg 00H -> b3). The thermal warning comparator has nominally 20 deg C hysteresis. The thermal Shutdown comparator trips when the die temperature exceeds 160 deg C, indicates an over temperature condition in the status register (ThShutdown in the Reg00H -> b4). The status register is transparent to the thermal shutdown information. If the ThShutdown bit is equal to zero only the flag on the status register is activated, else the L7250 is driven into thermal shutdown mode, which initiates Unload of the Voice Coil Motor (no actions on the Spindle motor has been taken). Hysteresis of 25 deg C on this comparator allows the die temperature to stabilize before it is re-enabled. Iif the ThShutdown bit is set to 1, the thermal Shutdown condition is latched, then to re-enable the function a reset cycle is needed (ThShutdown bit must be programmed to 0, then set again to 1).
42/46
CT
U
V
W
SPINDLE Motor
Vmot 100nF 47uf 22nF 0.22ohm 330nF 64 61 V C V 3 V C V 4 V M 2 V M 1 O U T W 2 O U T W 1 R S E N S E VCM-P RSEN2 RSEN1 VCMN2 VCMN1 VCMGND4 VCMGND3 SNS_N SNS_P SNS_Out ERR_Out ERR_In DAC_Out SCLK SYSClk SDATA V C M B e m f A D a u x T e s t SEN 38 37 36 35 34 33 SCLK SYSClk DATA SEN 39 40 41 42 43 44 45 46 47 0.27ohm 48 O U T U 2 O U T U 1 R S E N 4 R S E N 3 O U T V 2 O U T V 1 60 59 58 57 56 V B O O S T 1 VCV1 VCV2 VCMP1 VCMP2 VCMGND1 VCMGND2 CPOSC VCC5 DIG_GND N_DRV N_FEED N_COMP 25_BASE 25_FEED 33_BASE 33_FEED C a l C o a r s e VCM-P 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 C P O S C H C T 63 62 55 54 53 52 51 50 49
12V
100nF
VCM Motor VCM_P
Figure 21. 12V Application diagram
5V
10uF
100nF
VCM_M
5V
5K
L7250
TQFP 64 10x10
S
* Default configuration
G
D
-4V
GND
5V 17 18 19 20 21 22 23 24 25 26 27 28 29
C P O R Z C
N P O R
C B R A K E A G N D S k i n S k o u t S k f i n
V R E F 2 5
S k f o u t T i m e r 1
S k D o u t
30
31
32
1.8V
275ohm
TEST1 NPOR SHOCKOUT Aux Input 220nF 1uF 100nF 22nF ZC
GND
100nF
10uF
625ohm
5V
3.3V
GND
100nF
10uF
L7250
Shock Sensor
43/46
VBOOST CT 1 2 22nF U V W SPINDLE Motor
44/46
Vmot 100nF 47uf 22nF 0.22ohm 330nF 64 61 V C V 3 V C V 4 V M 2 V M 1 O U T W 2 O U T W 1 R S E N S E VCM-P RSEN2 RSEN1 VCMN2 VCMN1 VCMGND4 VCMGND3 SNS_N SNS_P SNS_Out ERR_Out ERR_In DAC_Out SCLK SYSClk SDATA V C M B e m f A D a u x SEN 38 37 36 35 34 33 SCLK SYSClk DATA SEN 39 40 41 42 43 44 45 46 47 0.27ohm VCM_M 48 VCM Motor VCM_P O U T U 2 O U T U 1 R S E N 4 R S E N 3 O U T V 2 O U T V 1 60 59 58 57 56 V B O O S T 1 VCV1 VCV2 VCMP1 VCMP2 VCMGND1 VCMGND2 CPOSC VCC5 DIG_GND N_DRV N_FEED N_COMP 25_BASE 25_FEED 33_BASE 33_FEED C a l C o a r s e T e s t VBOOST 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 R5en 20K TEST1 NPOR SHOCKOUT Aux Input 220nF 1uF 100nF 22nF ZC VCM-P 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 C P O S C H C T 63 62 55 54 53 52 51 50 49
L7250
5V
Figure 22. 5V Application diagram
100nF
4.7uF
100nF
5V
5K
L7250
TQFP 64 10x10
S
* Default configuration
G
D
-4V
GND
5V
C P O R Z C
N P O R
C B R A K E A G N D S k i n S k o u t S k f i n
V R E F 2 5
S k f o u t T i m e r 1
S k D o u t
1.8V
275ohm
GND
100nF
10uF
625ohm
5V
3.3V
GND
100nF
10uF
Shock Sensor
L7250
DIM. MIN. A A1 A2 B C D D1 D3 e E E1 E3 L L1 K 0.40 0.05 1.35 0.18 0.12
mm TYP. MAX. 1.60 0.15 1.40 0.23 0.16 12.00 10.00 7.50 0.50 12.00 10.00 7.50 0.60 1.00 0(min.), 7(max.) 0.75 1.45 0.28 0.20 0.002 0.053 0.007 MIN.
inch TYP. MAX. 0.063 0.006 0.055 0.009 0.057 0.011
OUTLINE AND MECHANICAL DATA
0.0047 0.0063 0.0079 0.472 0.394 0.295 0.0197 0.472 0.394 0.295 0.0157 0.0236 0.0295 0.0393
TQFP64
D D1 A D3 A1 48 49 33 32
0.10mm Seating Plane
A2
B
E3
E1
64 1 e 16
17 C
L1
E
L
K
TQFP64
B
45/46
L7250
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics. The ST logo is a registered trademark of STMicroelectronics (R) 2001 STMicroelectronics - All Rights Reserved STMicroelectronics GROUP OF COMPANIES Australia - Brazil - China - Finland - France - Germany - Hong Kong - India - Italy - Japan - Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - U.S.A. http://www.st.com
46/46


▲Up To Search▲   

 
Price & Availability of L7250

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X